<?php
$this->setLayout('template'.DS.'default.phtml');

$this->startBlock('scriptBlocks');
?>
<script language="javascript" type="text/javascript" src="/pub/share/js/roads.js"></script>
<script language="javascript" type="text/javascript" src="/pub/share/js/ritu/industry.js"></script>
<script language="javascript" type="text/javascript">
    $().ready(function(){
        var html ='';
        for(var i in ritu.industries1){
             html += '<option id="'+i + '">'+ ritu.industries1[i] + '</option>';
        }
        $('#industry1').html(html);
        $('#industry1').change(function(){
            html ='';
            var industry1Value = $('#industry1 option:selected').attr('id');
            var industry2Json = ritu.findIndustry(industry1Value);
            for(i in industry2Json){
                html +='<option id="'+i + '">'+ industry2Json[i]+ '</option>';
            }
            $('#industry2').html(html);
        });
    });
</script>
<?php
$this->endBlock();
$this->startBlock('topbar');
echo $this->navigation->toHtml();
$this->endBlock();

$this->startBlock();
echo $this->toolbar->toHtml();
echo $this->form->toHtml();
$this->endBlock();